//
//  WangyinzhifuViewController.m
//  YSZC
//
//  Created by 张斌 on 16/4/18.
//  Copyright © 2016年 YueShiKeJi. All rights reserved.
//

#import "WangyinzhifuViewController.h"
#import "YSDoViewManager.h"
#import "LoadVcManager.h"

@interface WangyinzhifuViewController ()
@property (weak, nonatomic) IBOutlet UIImageView *headerimagview;
@property (weak, nonatomic) IBOutlet UILabel *username;
@property (weak, nonatomic) IBOutlet UILabel *avisibelmoney;

@property (weak, nonatomic) IBOutlet UIButton *chongzhibtn;
@property (weak, nonatomic) IBOutlet UIButton *tixianbtn;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *line1;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *line2;
@property (weak, nonatomic) IBOutlet UIButton *wangyinzhifubtn;
@property (weak, nonatomic) IBOutlet UITextField *chongzhijine;
@property (weak, nonatomic) IBOutlet UIButton *paybtn;
@property (weak, nonatomic) IBOutlet UIButton *kuaijiezhifubtn;
@end

@implementation WangyinzhifuViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}
- (IBAction)chongzhibtnclick:(id)sender {
    [self.navigationController pushViewController:[LoadVcManager sbVCWithsbname:@"ChongzhiViewController"] animated:YES];
}
- (IBAction)tixianbtnclick:(id)sender {
    [self.navigationController pushViewController:[LoadVcManager sbVCWithsbname:@"TixianTableViewController"] animated:YES];
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    [self.view endEditing:YES];
}


- (void)viewDidLayoutSubviews{
    [super viewDidLayoutSubviews];
    
    self.line1.constant = 0.5;
    self.line2.constant = 0.5;
    
    [[YSDoViewManager sharedmanager] settoyuanWithview:@[self.chongzhibtn,self.tixianbtn,self.wangyinzhifubtn,self.kuaijiezhifubtn,self.paybtn]];
    
}
@end
